package com.ruiysoft.entity.feight;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyahui
 * @since 2019-01-08
 */
@TableName("freight")
@Accessors(chain = true)
@Data
public class Freight extends Model<Freight> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商铺id
     */
    @TableField("shop_id")
    private Long shopId;

    @TableField("default_count")
    private Integer defaultCount;

    /**
     * 多少钱运费
     */
    @TableField("default_fee")
    private Integer defaultFee;

    @TableField("increase_count")
    private Integer increaseCount;

    @TableField("increase_fee")
    private Integer increaseFee;


    /**
     * 满多少钱包邮
     */
    @TableField("full_fee")
    private Integer fullFee;

    /**
     * 描述
     */
    private String info;

    private String name;

    @TableField(exist = false)
    private List<FreightRegion> freightRegionList;
}
